package com.huosu.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 矿机连接历史信息
 * </p>
 *
 * @author hun
 * @since 2019-12-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("m_miner_connect_history")
@ApiModel(value="矿机连接历史记录", description="矿机连接历史记录")
public class ConnectHistory extends Model<ConnectHistory> implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    private String id;

    @ApiModelProperty(value = "IP")
    private String ip;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "连接状态")
    private String connectState;

    @ApiModelProperty(value = "当前时间")
    private String nowTime;

    @ApiModelProperty(value = "连接地址")
    private String connectAddr ;

    @ApiModelProperty(value = "连接矿工名")
    private String connectMiner;
}
